<?php
//全局配置文件
//+++++++++++++++++++++++++++++++++++++++++++++++++
//防止恶意调用
if (!defined('IN_TG')) exit('Access Defined!');

// 定义当前请求的系统常量
define('IS_POST',$_SERVER['REQUEST_METHOD'] =='POST' ? true : false);
define('IS_AJAX',isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower(trim($_SERVER['HTTP_X_REQUESTED_WITH'])) == 'xmlhttprequest' ? true : false);
define('PATH_INC', preg_replace("/[\/\\\\]{1,}/", '/', dirname(__FILE__)));
define('PATH_ROOT', substr(PATH_INC, 0, -3));

//红枫金融资讯  抵押贷款，无抵押贷款，个人信用贷款，贷款咨询
$cf_jinrong_info_type=array(
    1=>'抵押贷款',
    2=>'无抵押贷款',
    3=>'个人信用贷款',
    4=>'贷款咨询',
);
//红枫金融产品类型
$cf_jinrong_products_type=array(
	1=>'抵押贷款',
	2=>'无抵押贷款',
	3=>'信用抵押贷款',
);
?>